//引入要是使用的gulp插件
var gulp_uglify=require('gulp-uglify');
//把gulp模块引入进来
var gulp=require('gulp');
//引入重命名文件的模块
var gulp_rename=require('gulp-rename');
var minifyCss = require("gulp-minify-css");
//压缩文件夹
gulp.task('default',function(){
  gulp.src('./js/cookie.js')
      .pipe(gulp_uglify())
      .pipe(gulp_rename('cookie.min.js'))
      .pipe(gulp.dest('./min'));
});
